public class TriAngleTest {
    public static void main(String[] args) {
        TriAngle triangle = new TriAngle(10., 2.);
        System.out.println("高：" + triangle.getHeight());
        System.out.println("底：" + triangle.getBase());
    }
}
